package com.yuyuto.conn.interf;

import com.yuyuto.conn.model.request.RequestDto;
import com.yuyuto.conn.model.response.CollectorGetAllSiteResponseDto;
import com.yuyuto.conn.model.response.HttpResult;
import com.yuyuto.conn.model.response.RespCollectedPosition;
import com.yuyuto.conn.model.response.RespLogin;
import com.yuyuto.conn.model.response.RespReportLocation;

import rx.Subscriber;

/**
 * Created by Demon on 2017/8/3.
 */

public interface IReportLocation {
    void Login(Subscriber<RespLogin> subscriber, RequestDto reqLogin);

    void getAllSite(Subscriber<CollectorGetAllSiteResponseDto> subscriber, RequestDto requestDto);

    void getCollectedPosition(Subscriber<RespCollectedPosition> subscriber, RequestDto reqLogin);

    void reportLocation(Subscriber<RespReportLocation> subscriber, RequestDto requestDto);

    void deletePosition(Subscriber<HttpResult> subscriber, RequestDto reqLogin);

    void listPositionRecorded(Subscriber<RespCollectedPosition> subscriber, RequestDto reqLogin);

    void createWifiRecord(Subscriber<RespReportLocation> subscriber, RequestDto requestDto);

    void deleteWifiRecord(Subscriber<HttpResult> subscriber, RequestDto reqLogin);

    void addParkingPosition(Subscriber<RespReportLocation> subscriber, RequestDto reqLogin);

    void getParkingPosition(Subscriber<RespCollectedPosition> subscriber, RequestDto reqLogin);

    void deleteParkingPosition(Subscriber<HttpResult> subscriber, RequestDto reqLogin);
}
